package com.haistand.module.common.notification;


import com.haistand.module.common.utils.StringUtils;
import org.apache.log4j.Logger;

/**
 * 手机验证码发送
 *
 * @author :anjero
 * @version :1.0
 * @Title :MsgSender.java
 * @Description:
 * @Datetime : 2014-5-9 下午2:20
 * @Copyright :Copyright (c) 2012
 * @Company :Cheshell
 */

public class MsgSender {

    Logger LOG = Logger.getLogger("notification");

    /**
     * 发送短信
     *
     * @return
     */
    public String sender(String phone, String message) {

        String num = StringUtils.randomString(4);
        LOG.info("the phone:" + phone + "the msg code is :" + num);
        return num;
    }


}
